package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统消息表
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_system_message")
@ApiModel(value="SystemMessage对象", description="系统消息表")
public class SystemMessage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "类型（ 1：待办  2：通知）")
    private Integer type;

    @ApiModelProperty(value = "业务id")
    private Long businessId;

    @ApiModelProperty(value = "业务单号")
    private String businessOrderNo;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "消息主体")
    private String centent;

    @ApiModelProperty(value = "接收用户id")
    private Long receivingUserId;

    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendingTime;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "状态（1：未读 2：已读）")
    private Integer isRead;

    @ApiModelProperty(value = "标题")
    private String title;


}
